OOPSPAM\WOOCOMMERCE\WooSpamProtection D

Total Complexity 196
Dependencies 1
Dependents 0
Total lines 971
Lines of code 688
Logical lines of code 390
Comment lines 133
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
oopspam_disable_wc_rest_checkout()
C
33 24 102
oopspam_check_order_attributes()
C
34 25 83
oopspam_checkout_store_api_processed()
B
41 19 48
oopspam_legacy_checkout_classic_processed()
B
41 17 49
oopspam_checkout_classic_processed()
B
41 17 48
oopspam_checkout_process()
B
42 17 44
oopspam_woocommerce_login_errors()
A
43 14 45
checkEmailAndIPInOOPSpam()
A
42 13 52
oopspam_process_registration()
A
43 12 45
oopspam_woocommerce_register_errors()
S
49 7 30
__construct()
S
50 6 25
cleanSensitiveData()
S
55 5 21
hasCompletedOrders()
S
55 5 19
oopspam_woocommerce_register_form()
S
56 3 22
oopspam_woocommerce_login_form()
S
56 3 22
isEmailAllowed()
S
57 2 17
get_error_message()
S
69 3 6
getInstance()
S
72 2 6
should_check_honeypot()
S
74 2 4